//
//  BSSettingTableViewCell.m
//  SuoSiApp
//
//  Created by zhang on 16/4/7.
//  Copyright © 2016年 Ym. All rights reserved.
//

#import "BSSettingTableViewCell.h"

@implementation BSSettingTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{

    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
           [self addSubview] ;
    }
    return self;
}


- (void)addSubview{

//    图标
    self.iconImageView = [[UIImageView alloc]initWithFrame:CGRectMake(kMartin20, 18, kMartin50, kMartin50)];
    self.iconImageView.backgroundColor = BSGreen;
    [self.contentView addSubview:_iconImageView];
//    内容
    self.contentLB = [[UILabel alloc]initWithFrame:CGRectMake(84, kMartin10, self.contentView.width - 90, self.contentView.height - 20)];
    self.contentLB.text = @"123213213131";
    [self.contentView addSubview:_contentLB];
    

}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
